package com.chen.blue.sysconfig;

import com.chen.blue.utils.SpringUtil;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * Created By CLT On 2024/5/10.
 */
@SuppressWarnings("all")
@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "flowable")
public class SystemConfig {

    // 是否开启日志获取地址
    private boolean addressEnabled;

    // token过期时间，单位小时
    private int expireTime;

    // token签名
    private String tokenSign;

    // token请求头
    private String tokenHeader;

    // 是否开启日志记录
    private boolean logEnabled;

    // token签名
    private String tokenSave;

    // 检查连接情况
    private boolean checkConnection;

    // minio相关配置
    private String minioEndpoint;
    private String minioBucketName;
    private String minioAccessKey;
    private String minioSecretKey;

}
